package deibay.messages;

import java.util.Date;

public class NewItemMsg extends Message{

	private String name = null;
	private String description = null;
	private String category = null;
	private Date date = null;
	private int price = 0;
	
	
	public NewItemMsg(String message, String name, String description, String category, Date date, int price) {
		super(message);
		this.name = name;
		this.description = description;
		this.category = category;
		this.date = date;
		this.price = price;
	}


	public String getCategory() {
		return category;
	}


	public Date getDate() {
		return date;
	}


	public String getDescription() {
		return description;
	}


	public String getName() {
		return name;
	}


	public int getPrice() {
		return price;
	}


}
